//
//  YWTool.h
//  TZKB
//
//  Created by yellow on 2017/10/10.
//  Copyright © 2017年 TZKB. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YWGetNewsDataStatus.h"


@interface YWTool : NSObject




+ (BOOL)getIsIpad;
+ (BOOL)getIsLargerThanOrEqualToIosEleven;
+(NSString *)dateToOld:(NSDate *)bornDate;
+(NSDate *)birthdayToDate:(NSString *)birthday;

+(NSString *)getAstroWithMonth:(int)m day:(int)d;



+(void)juedgeLocationWithController:(UIViewController *)controller text:(NSString *)text;

#pragma mark -对一个字符串进行base64编码，并返回
+(NSString *)base64EncodeString:(NSString *)string;

+(NSString *)base64DecodeString:(NSString *)string;





@end
